package main

func createTable(table Table) *Table {

	var r = Table{}

	DB.Where(Table{Name: table.Name, SystemId: table.SystemId}).Attrs(table).FirstOrCreate(&r)

	return &r
}
